package cn.edu.zzuli.domain;

import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ToString
public class User {

    private Integer id;

    private String name;

    private Integer age;

    private String address;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
}
